﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IndirectX.Direct3D11
{
    public class Buffer : Resource
    {
        public readonly Device Device;
        public readonly DataStream Data;

        public Buffer(Device device, DataStream data, int sizeInBytes, ResourceUsage usage, BindFlags bindFlags, CpuAccessFlags accessFlags, ResourceOptionFlags optionFlags, int structureByteStride)
        {
            Device = device;
            Data = data;
        }
    }
}
